package com.bs.manager04.entity;

import com.bs.manager04.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色菜单关联表
 * </p>
 *
 * @author yao
 * @since 2022-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Rolemenu对象", description="角色菜单关联表")
public class Rolemenu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色编号")
    private String roleid;

    @ApiModelProperty(value = "菜单id")
    private String menuid;

    @TableId(value = "rolemenuid", type = IdType.ASSIGN_ID)
    private String rolemenuid;


}
